//取得当前时间
exports.getTime = () => {
    let date = new Date();
    let year = date.getFullYear();
    let month = date.getMonth() + 1;
    let day = date.getDate();
    let hour = date.getHours();
    let min = date.getMinutes();
    let sec = date.getSeconds();
    let time = year+'年'+month+'月'+day+'日 '+hour+'点'+min+'分'+sec+'秒';
    return time;
}